package com.coderman.infosys.auth.domain.bo.event;

import com.coderman.infosys.auth.domain.bo.user.UserGroupBO;

/**
 * Description:
 * date: 2022/1/8
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public class UserGroupCreatedEvent extends BaseEvent{

    /**
     * 这里直接将BO引入保持模型完整性
     * 不再另外建立xxxContext或者在
     * CreatedUserGroupEvent引入UserGroupBO的属性造成冗余
     */
    public UserGroupBO userGroupBO;

    public UserGroupCreatedEvent(Object source, UserGroupBO userGroupBO) {
        super(source);
        this.userGroupBO = userGroupBO;
    }
}
